﻿using System.ComponentModel;
using System.Windows.Controls;
using System.Windows.Ink;


namespace ThePresenter.Windows.Ink
{
	public class InkCanvasAttributes : DrawingAttributes
	{
		#region Fields
		InkCanvasEditingMode _EditingMode;
		#endregion


		#region Properties
		/// <summary>
		/// Gets or sets the user editing mode used by an active pointing device. This is a dependency property.
		/// </summary>
		/// <value>The editing mode used when a pointing device (such as a tablet pen or mouse) is active.</value>
		public InkCanvasEditingMode EditingMode
		{
			get
			{
				return _EditingMode;
			}
			set
			{
				if (_EditingMode != value)
				{
					_EditingMode = value;
					OnPropertyChanged(new PropertyChangedEventArgs("EditingMode"));
				}
			}
		}
		#endregion
	}
}
